import qs from 'qs';
import 'whatwg-fetch';
import request from '../utils/request';

export function jsSdkAuth(params) {
  request('/yyj/api/comm/JsSdkAuth', {
    method: 'post',
    body: qs.stringify(params),
  });
}

export default {
  jsSdkAuth,
};
